package com.dao;


import com.po.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


//@Repository("userDao")
@Repository
@Mapper
public interface UserDao1 {

//	public MyUser selectUserByname(MyUser User);
//	有参数是不要忘了加@Param("")
	public User selectUserByname(@Param("name")String name,@Param("password")String password);
	public List<User> selectUser();
}
